import { myRequest } from "../utils/request.js" 

//获取省份信息
export function getAddress(data) {  
	return myRequest({   
		url: "v2.Weixin/get_address",   
		method: "post",   
		data
	}) 
}
//获取二维码(ipad)
export function getCodeIpad(data) {  
	return myRequest({   
		url: "v2.Weixin/get_qrcode",   
		method: "post",   
		data
	}) 
}
//检测二维码状态
export function checkQrcode(data) {  
	return myRequest({   
		url: "v2.Weixin/check_qrcode",   
		method: "post",   
		data
	}) 
}
//退出登录
export function LogOut(data) {  
	return myRequest({   
		url: "v2.Weixin/LogOut",   
		method: "post",   
		data
	}) 
}
//获取二维码(车载)
export function carGetQrcode(data) {  
	return myRequest({   
		url: "v2.Weixin/car_get_qrcode",   
		method: "post",   
		data
	}) 
}
//检测用户状态
export function getWxUserStatus(data) {  
	return myRequest({   
		url: "v2.Weixin/get_wx_user_status",   
		method: "post",   
		data
	}) 
}
//创建发布任务
export function createTask(data) {  
	return myRequest({   
		url: "v2.Weixin/create_task",   
		method: "post",   
		data
	}) 
}
//获取发布任务列表
export function getTaskList(data) {  
	return myRequest({   
		url: "v2.Weixin/get_task_list",   
		method: "post",   
		data
	}) 
}
//获取任务发布详情
export function getTaskDetail(data) {  
	return myRequest({   
		url: "v2.Weixin/get_task_detail",   
		method: "post",   
		data
	}) 
}

